package com.fowo.api.model.nav.sell.order.transaction;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 订单管理交易信息 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class NavSellOrderTransactionImportPo {

  /** 所属订单管理 */
  @ExcelProperty("所属订单管理")
  private String parentNavSellOrderOrderId;

  @ExcelIgnore
  @Schema(title = "所属订单管理")
  private String parentNavSellOrder;

  /** 客付税费 */
  @ExcelProperty("客付税费")
  @DecimalString(message = "客付税费小数格式不正确", label = "客付税费")
  private String tax;

  /** 小费 */
  @ExcelProperty("小费")
  @DecimalString(message = "小费小数格式不正确", label = "小费")
  private String tip;

  /** 折扣 */
  @ExcelProperty("折扣")
  @DecimalString(message = "折扣小数格式不正确", label = "折扣")
  private String discount;

  /** 商品金额 */
  @ExcelProperty("商品金额")
  @DecimalString(message = "商品金额小数格式不正确", label = "商品金额")
  private String amount;

  /** 订单总额 */
  @ExcelProperty("订单总额")
  @DecimalString(message = "订单总额小数格式不正确", label = "订单总额")
  private String totalAmount;

  /** 预估出库成本 */
  @ExcelProperty("预估出库成本")
  @DecimalString(message = "预估出库成本小数格式不正确", label = "预估出库成本")
  private String thinkDeliveryCost;

  /** 预估运费 */
  @ExcelProperty("预估运费")
  @DecimalString(message = "预估运费小数格式不正确", label = "预估运费")
  private String deliveryThinkFreight;

  /** 客付运费 */
  @ExcelProperty("客付运费")
  @DecimalString(message = "客付运费小数格式不正确", label = "客付运费")
  private String deliveryRealFreight;

  /** 交易费 */
  @ExcelProperty("交易费")
  @DecimalString(message = "交易费小数格式不正确", label = "交易费")
  private String transactionCost;

  /** 预估毛利润 */
  @ExcelProperty("预估毛利润")
  @DecimalString(message = "预估毛利润小数格式不正确", label = "预估毛利润")
  private String thinkGrossProfit;

  /** 预估毛利率 */
  @ExcelProperty("预估毛利率")
  @DecimalString(message = "预估毛利率小数格式不正确", label = "预估毛利率")
  private String thinkGrossMargin;

  /** 平台其他费 */
  @ExcelProperty("平台其他费")
  @DecimalString(message = "平台其他费小数格式不正确", label = "平台其他费")
  private String otherAmount;

  /** 采购成本 */
  @ExcelProperty("采购成本")
  @DecimalString(message = "采购成本小数格式不正确", label = "采购成本")
  private String cgPriceAmount;

  /** 库存明细成本 */
  @ExcelProperty("库存明细成本")
  @DecimalString(message = "库存明细成本小数格式不正确", label = "库存明细成本")
  private String stockAostAmount;

  /** 实际出库成本 */
  @ExcelProperty("实际出库成本")
  @DecimalString(message = "实际出库成本小数格式不正确", label = "实际出库成本")
  private String wmsOutboundCostAmount;

  /** COD费用 */
  @ExcelProperty("COD费用")
  @DecimalString(message = "COD费用小数格式不正确", label = "COD费用")
  private String codAmount;

  /** 实际运费 */
  @ExcelProperty("实际运费")
  @DecimalString(message = "实际运费小数格式不正确", label = "实际运费")
  private String wmsShippingPriceAmount;

  /** 礼品包装费 */
  @ExcelProperty("礼品包装费")
  @DecimalString(message = "礼品包装费小数格式不正确", label = "礼品包装费")
  private String giftWrapAmount;

  /** 销售税 */
  @ExcelProperty("销售税")
  @DecimalString(message = "销售税小数格式不正确", label = "销售税")
  private String saleTax;

  /** 积分成本 */
  @ExcelProperty("积分成本")
  @DecimalString(message = "积分成本小数格式不正确", label = "积分成本")
  private String pointsGrantedAmount;

  /** 其他费用 */
  @ExcelProperty("其他费用")
  @DecimalString(message = "其他费用小数格式不正确", label = "其他费用")
  private String otherFee;
}
